<!doctype html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">

<head>
    <!--commonstyle-->
    <link th:include="resident/navMenu::navigation">
    <title>购物车</title>
</head>

<body>
<!--wrapper-->
<div class="wrapper">
    <!--sidebar wrapper -->
    <div th:replace="resident/navMenu::#sideBar"></div>
    <!--end sidebar wrapper -->
    <!--start header -->
    <header th:replace="resident/navMenu::#navBar"></header>
    <!--end header -->
    <!--start page wrapper -->
    <!--start page wrapper -->
    <div class="page-wrapper">
        <div class="page-content">
            <!--breadcrumb-->
            <div class="page-breadcrumb d-none d-sm-flex align-items-center mb-3">
                <div class="breadcrumb-title pe-3">我的购物车</div>
            </div>
            <!--end breadcrumb-->
        </div>
        <div class="card">
            <div class="card-body">
                <div class="table-responsive">
                    <table id="example2" class="table table-striped table-bordered">
                        <thead>
                        <tr>
                            <th>购物单号</th>
                            <th>商品名称</th>
                            <th>商品数量</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr th:each="create,statar:${list}">
                            <td th:text="${create.getId()}"></td>
                            <td th:text="${create.getShopname()}"></td>
                            <td th:text="${create.getQuantity()}"></td>
                        </tr>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <!--end page wrapper -->
    <!--end page wrapper -->
</div>
<!--end wrapper-->
<div th:include="resident/navMenu::#footerBar"></div>
</body>

</html>